SmartFTP FTP Library
ISFTPConnection::ReadDirectory Method

Retrieves directory listing.

IDL
HRESULT ReadDirectory(
    [in] BSTR directory, 
    [out, retval] IFTPItems** retval
);
Parameters

bstrDirectory
The path of the directory.

Returns

If the method succeeds it returns an array of FTPItem.

For further information please see "8.2.2. Reading Directories" of SSH File Transfer Protocol.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.